//package com.muki.wareHouse.tool;
//
//import com.mongodb.MongoClient;
//import com.mongodb.client.MongoDatabase;
//
//public class MongodbDatabase {
//	
//	private final static String ip="www.qixuezhi.com";
//	private final static int port = 27017;
//	
//	public static MongoDatabase getbase(String name) {
//		@SuppressWarnings("resource")
//		MongoClient client = new MongoClient(ip , port );
//		MongoDatabase mongoDatabase = client.getDatabase(name);  
//		return mongoDatabase;
//	}
//}
